
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>文件列表</title>
</head>
<body>
  下载的文件有：<br/>
    <c:forEach var="entry" items="${requestScope.map}">
         <c:url var="url" value="/servlet/DownloadServlet">
             <c:param name="filename" value="${entry.key}">
             </c:param>
         </c:url>
        ${entry.value}<a href="${url}">下载</a><br/>
    </c:forEach>
</body>
</html>
